<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>添加预约</title>
<style type="text/css">
<!--
body { background-image: url(/dadaocms/Public/images/frame/allbg.gif); }
-->
</style>
<link href="/dadaocms/Public/css/base.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../include/js/dedeajax2.js"></script>
<script language="javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/calendar/calendar.js"></script>
<script language="javascript" type="text/javascript" src="/dadaocms/Public/js/My97DatePicker/WdatePicker.js"></script>
<script language="javascript" type="text/javascript" src="/dadaocms/Public/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript">
$(function(){
	  $("#form1").submit(function(){
			if($("#typename").val()==''){
				alert("栏目名称不允许为空");	
				return false;
			}			
	  }); 
		   
});
</script>
</head>
<body topmargin="8">
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="65%" height="30">&nbsp; 
      <IMG height=14 src="/dadaocms/Public/images/frame/book1.gif" width=20>&nbsp;<u>栏目</u><a href="__URL__/index"><u>管理</u></a> -&gt;栏目增加 </td>
    </tr>
  </table>
  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1" >
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
  </table>
  
<form name="form1" id="form1" action="" enctype="multipart/form-data" method="post">
  <table width="98%"  border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #cfcfcf;background:#ffffff;">
  <tr>
      <td width="400%" height="24" class="bline"><table width="98%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="11%">&nbsp;内容模型：</td>
            <td width='89%'>
                <select name="channelid" id="channelid">
                <volist name="channel" id="vo">
                  <option value="{$vo.id}">{$vo.channelname}</option>
                </volist>
              </select></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td width="400%" height="24" class="bline"><table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="11%">&nbsp;上级栏目：</td>
          <td width='89%'><label for="topid"></label>
            <select name="topid" size="10" id="topid" style="width:400px;">
              <option value="0" selected="selected">根栏目</option>
              <volist name="list" id="vo">
              	  <option value="{$vo.id}">| {$vo.Count|str_repeat='----',###}<neq name="vo.Count" value="1">| -- </neq>{$vo.typename}</option>
              </volist>
            </select></td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td width="400%" height="24" class="bline"><table width="98%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="11%">&nbsp;栏目名称：</td>
          <td width='89%'><input name="typename" type="text" id="typename" /></td>
        </tr>
      </table></td>
    </tr>
     <tr>
      <td width="400%" height="24" class="bline"><table width="98%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="11%">&nbsp;栏目属性：</td>
            <td width='89%'><table width="100%" border="0" id="needset2" cellspacing="0" cellpadding="0">
              <tbody>
                <tr>
                  <td>
                    <input name="shuxing" type="radio" id="radio" value="0" checked="checked"/>
                    最终列表栏目（允许在本栏目发布文档，并生成文档列表） <br />
                    <input name="shuxing" type="radio" id="radio" value="1" />
                    频道封面（栏目本身不允许发布文档） <br />
                    <input name="shuxing" type="radio" id="radio" value="2" />
                    外部连接（在&quot;文件保存目录&quot;处填写网址）</td>
                </tr>
              </tbody>
            </table></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td width="400%" height="24" class="bline"><table width="100%" border="0" cellspacing="0" cellpadding="0" id="adset">
        <tbody>
          <tr>
            <td width="11%" height="26">封面模板：</td>
            <td width="89%"><input name="tempindex" type="text" value="index.html"/>
              &nbsp; （模板位置在Tpl/Home/Arctype/下）</td>
          </tr>
          <tr>
            <td height="26">列表模板：</td>
            <td><input name="templist" type="text"  value="index.html"/> 
             &nbsp; （模板位置在Tpl/Home/Arctype/下）</td>
          </tr>
          <tr>
            <td height="26">文章模板：</td>
            <td><input name="temparticle" type="text"  value="index.html"/>
            &nbsp; （模板位置在Tpl/Home/Archive/下）
            </td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td>    </td>
    </tr>
  </table>
  <!-- //高级参数 -->
  

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F9FCEF" style="border:1px solid #cfcfcf;border-top:none;">
  <tr>
    <td height="35">
	<table width="100%" border="0" cellspacing="1" cellpadding="1">
        <tr>
          <td width="10%">&nbsp;</td>
          <td width="90%"><table width="214" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="115"><input name="imageField" type="image" src="/dadaocms/Public/images/frame/button_ok.gif" width="60" height="22" class="np" border="0" style="cursor:pointer"></td>
                <td width="99">
                	<img src="/dadaocms/Public/images/frame/button_reset.gif" width="60" height="22" border="0" onClick="window.opener.location.reload();window.close();" style="cursor:pointer">
                </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</form>
</body>
</html>